package com.hanj.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/*
 * 1 开启服务的注册发现
 * 2 在yaml里面配置nacos的地址
 * 3 配置路由规则
 */

/**
 * @author hanj.cn@outlook.com
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallGatewayApplication {

    public static void main(String[] args) {

        SpringApplication.run(GulimallGatewayApplication.class, args);
    }

}
